package com.gradle.practice;

import lombok.Data;

/**
 * TodoItem--GradleTest
 *
 * @author: Jovi
 * @createTime: 2018-06-22 15:29
 **/

@Data
public class TodoItem {

    /**
     * 待办事项
     */
    private String name;

    /**
     * 已完成
     */
    private boolean hasDone;



    public TodoItem(String name) {
        this.name = name;
    }



    @Override
    public String toString() {
        return "TodoItem{" +
                "name='" + name + '\'' +
                ", hasDone=" + hasDone +
                '}';
    }
}
